import asyncio
from asyncio import tasks
import time


async def run():
    print("我是一个普通的run函数")
    await asyncio.sleep(2)


cor = run()
# 获取事件循环
loop = asyncio.get_event_loop()
loop.run_until_complete(cor)
loop.close()